#include "Interface.h"

int Interface::showMain()
{

	int key;
	cout << "1: 대출" << endl << "2: 반납" << endl;
	cin >> key;
	switch(key)
	{
		case 1:
		
		break;

		case 2:
		
		break;

		default:
		cout << "Wrong input" << endl;
		showMain();
	}
	return 1;


}

int Interface::showReturn()
{

	cout << "도서 코드를 입력하세요." << endl;
	cout << "도서 코드: ";
	cin >> bookCode;

	return 0;
}

int Interface::showLogin()
{
	cout << "ID를 입력하세요." << endl;
	cout << "ID: ";
	cin >> ID;

	//ID 있는지 확인

	//ID 있을 때
	cout << "비밀번호를 입력하세요." << endl;
	cout << "비밀번호: " << endl;
	cin >> pw;

	//pw일치여부 조건

	return 0;
}

int Interface::showBorrow()
{

	return 0;
}
